.class Lcom/waiqin365/lightapp/im/activity/cb;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Ljava/lang/Exception;

.field final synthetic b:Lcom/waiqin365/lightapp/im/activity/bz;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/bz;Ljava/lang/Exception;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/cb;->b:Lcom/waiqin365/lightapp/im/activity/bz;

    iput-object p2, p0, Lcom/waiqin365/lightapp/im/activity/cb;->a:Ljava/lang/Exception;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cb;->b:Lcom/waiqin365/lightapp/im/activity/bz;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/activity/bz;->b:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cb;->a:Ljava/lang/Exception;

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "only group owner"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cb;->b:Lcom/waiqin365/lightapp/im/activity/bz;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/activity/bz;->b:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/cb;->b:Lcom/waiqin365/lightapp/im/activity/bz;

    iget-object v1, v1, Lcom/waiqin365/lightapp/im/activity/bz;->b:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    const v2, 0x7f08054d

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/cb;->b:Lcom/waiqin365/lightapp/im/activity/bz;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/activity/bz;->b:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/cb;->b:Lcom/waiqin365/lightapp/im/activity/bz;

    iget-object v1, v1, Lcom/waiqin365/lightapp/im/activity/bz;->b:Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;

    const v2, 0x7f08054e

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/im/activity/GroupDetailsActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0
.end method
